﻿using BunnyEater.Common.Enum;
using BunnyEater.Domain.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BunnyEater.Domain.Traceable
{
    /// <summary>
    /// 企业表(养殖、屠宰、深加工)
    /// </summary>
    [Table("Firm")]
    public class Firm : BaseEntity
    {
        /// <summary>
        /// 公司类型(枚举)
        /// </summary>
        public FirmTypeEnum FirmType { get; set; }
        /// <summary>
        /// 养殖场
        /// </summary>
        public string? Farms { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string? Head { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int FarmsNum { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string? FirmName { get; set; }
        /// <summary>
        /// 地址:省
        /// </summary>
        public string? Province { get; set; }
        /// <summary>
        /// 地址:市
        /// </summary>
        public string? City { get; set; }
        /// <summary>
        /// 地址:区
        /// </summary>
        public string? District { get; set; }
        /// <summary>
        /// 详细地址
        /// </summary>
        public string? Address { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string? Brief { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? LicenseNo { get; set; }

    }
}
